﻿using DefaultScope;
using Fabrikam.Client.ViewModels;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fabrikam.Client.DataModel
{
    static class DataDesignerService
    {
        public static ObservableCollection<ServiceTicketViewModel> GetServiceTickets()
        {
            var tickets = new ObservableCollection<ServiceTicketViewModel>();

            ServiceTicketViewModel ticket = new ServiceTicketViewModel(new ServiceTickets()
            {
                ServiceTicketID = Guid.NewGuid(),
                Description = "Lorem Sempsum Description bla bla bla ...",
                StatusValue = 1,
                EscalationLevel = 1,
                Title = "Design Time",
                Opened = DateTime.Now,
                Closed = null,
                CustomerID = 1,
            });

            ticket.Customer = new Customers()
            {
                Address_City = "Paris",
                Address_State = "Ile de france",
                Address_Street = "39 Quai du président Roosevelt",
                Address_Zip = "92100",
                FirstName = "Sébastien",
                LastName = "Pertus",
                ID = 1
            };

            tickets.Add(ticket);
            tickets.Add(ticket);
            tickets.Add(ticket);
            tickets.Add(ticket);
            tickets.Add(ticket);

            return tickets;
        }

    }
}
